Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Fix MPS size estimator #2229

Merged
merged 2 commits into from
Sep 13, 2024
Merged

Fix MPS size estimator #2229

merged 2 commits into from
Sep 13, 2024

Conversation

doichanj
Copy link
Collaborator

Summary

This is fix for SIGSEGV on MPS simulator #2220

Details and comments

In size estimator of MPS, SIGSEGV raised at std::set.find() if unsupported gates are passed to MPS simulator.
This fix checks return of std::set.find() to avoid SIGSEGV

@doichanj doichanj added stable-backport-potential The issue or PR might be minimal and/or import enough to backport to stable Changelog: Bugfix Include in the Fixed section of the changelog labels Sep 13, 2024
@doichanj doichanj merged commit 5ae3725 into Qiskit:main Sep 13, 2024
34 checks passed
doichanj added a commit to doichanj/qiskit-aer that referenced this pull request Sep 13, 2024
@doichanj doichanj mentioned this pull request Sep 13, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Changelog: Bugfix Include in the Fixed section of the changelog stable-backport-potential The issue or PR might be minimal and/or import enough to backport to stable
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants